]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
panel: Move power profiles indicator next to the system one
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 13 Nov 2025 19:13:37 +0000 (20:13 +0100)
committerMarge Bot <marge-bot@gnome.org>
Tue, 9 Dec 2025 15:10:59 +0000 (15:10 +0000)
For devices with a battery, the system indicator shows the current
charge level. As power profiles are related to power, it makes sense
to keep the two indicators next to each other.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3961>

js/ui/panel.js

index 62847a1ea6824cb55902b4327df57445348afce4..5f5a3c5d896de35a77bb66166f7d95fe8a2115d1 100644 (file)
@@ -353,13 +353,13 @@ class QuickSettings extends PanelMenu.Button {
         this._indicators.add_child(this._darkMode);
         this._indicators.add_child(this._doNotDisturb);
         this._indicators.add_child(this._backlight);
-        this._indicators.add_child(this._powerProfiles);
         if (this._bluetooth)
             this._indicators.add_child(this._bluetooth);
         this._indicators.add_child(this._rfkill);
         this._indicators.add_child(this._autoRotate);
         this._indicators.add_child(this._volumeOutput);
         this._indicators.add_child(this._unsafeMode);
+        this._indicators.add_child(this._powerProfiles);
         this._indicators.add_child(this._system);
 
         // add our quick settings items before any external ones